package the_sixth_chapter;

public class Multi_Thread {

	public static void main(String[] args) {
		Thread1 thread1 = new Thread1();
		Thread thread2 = new Thread(new Thread2());
		try {
			thread1.sleep(2000);
		} catch (InterruptedException e) {
			e.printStackTrace();
		}
		try {
			thread2.join();
		} catch (InterruptedException e) {
			e.printStackTrace();
		}
		thread1.start();
	
		thread2.start();

	}
}
